package com.garlic.face.jlf.transaction.constances;

/**
 * Created by lyq on 2018/7/9.
 * Email: lyqcy1337@163.com
 */

public class JLFConstant {

    public static final int STATE_INQUIRE = 0x0002; // 获得POS当前状态
    public static final int CASHIER_SIGN = 0x0003; // 收银员登陆/登出
    public static final int MEMBER_CARD = 0x0004; // 会员卡
    public static final int ITEM_SALE = 0x0005; // 扫描单个商品
    public static final int ITEM_VOID = 0x0006; // 取消商品
    public static final int CANCEL_TRANSACTION = 0x0007; // 取消交易
    public static final int SUBTOTAL = 0x0008; // 小计（确认付款）
    public static final int PAYMENT = 0x0009; // 选择付款方式并付款
    public static final int SUPERVISOR_INTERVENTION = 0x0012; // 登陆获取权限

    //交互相关
    public static final String TAG_STATE_REQUEST = "STATECERTIFY";
    public static final String TAG_STATE_RESPONSE = "STATEINFO";
    public static final String TAG_LOGIN_REQUEST = "LOGINCERTIFY";
    public static final String TAG_LOGIN_RESPONSE = "LOGININFO";
    public static final String TAG_VIP_REQUEST = "VIPCERTIFY";
    public static final String TAG_VIP_RESPONSE = "VIPINFO";
    public static final String TAG_GOOD_REQUEST = "BARCODECERTIFY";
    public static final String TAG_GOOD_RESPONSE = "GOODSINFO";
    public static final String TAG_TRADE_REQUEST = "TRADECERTIFY";
    public static final String TAG_TRADE_RESPONSE = "TRADEINFO";
    public static final String TAG_CANCELGOOD_REQUEST = "CANCELBARCODECERTIFY";
    public static final String TAG_CANCELGOOD_RESPONSE = "CANCELBARCODEINFO";
    public static final String TAG_CANCELTRADE_REQUEST = "CANCELTRADECERTIFY";
    public static final String TAG_CANCELTRADE_RESPONSE = "CANCELTRADEINFO";
    public static final String TAG_SUPERVISOR_REQUEST = "SUPERVISORCERTIFY";
    public static final String TAG_SUPERVISOR_RESPONSE = "SUPERVISORINFO";
    public static final String TAG_SUBTOTAL_REQUEST = "PAYREQUESTCERTIFY";
    public static final String TAG_SUBTOTAL_RESPONSE = "PAYREQUESTINFO";
    public static final String TAG_PAY_REQUEST = "PAYCERTIFY";
    public static final String TAG_PAY_RESPONSE = "PAYINFO";

    public static final String PAY_CASH = "0";//现金
    public static final String PAY_BANK_CARD = "1";//银行卡
    public static final String PAY_COOP_CARD = "2";//购物卡
    public static final String PAY_MINI_CARD = "3";//扫码
    public static final String PAY_FACE_SCAN = "4";//刷脸付

    //权限卡干预状态
    public static final String SCO_SIGN_OFF = "201";//签退
    public static final String SCO_MANAGEMENT = "202";//进入后台管理系统
    public static final String SCO_WEIGHT_DIFF = "205";//称重防损授权
    public static final String SCO_PRINT_SIBARCODE = "207";//打印权限条码
    public static final String SCO_CONFIG_HW = "208";//更改通道配置
    public static final String SCO_SCALE_CALIBRATE = "209";//电子秤校准
    public static final String SCO_DISABLE_USAGE = "211";//关闭通道
    public static final String SCO_PARTIAL_PAY_PSV = "216";//部分付款取消收据

    //POS状态
    public static final String POS_CLOSE = "Register Close";
    public static final String POS_OPEN = "Register Open";
    public static final String POS_BETWEEN_ITEM = "Between Items";
    public static final String POS_SUBTOTAL = "Subtotal";
    public static final String POS_PARTIAL_PAYMENT = "Partial Payment";

    //重量提示类型
    public static final String WEIGHT_START_VERIFY = "1";//开始购物前的重量检测
    public static final String WEIGHT_BAG_DLG = "2";//重量变化为0，启动装袋提示
    public static final String WEIGHT_UNEXCEPTED_DLG = "3";//意外商品提示
    public static final String WEIGHT_OVER_DLG = "4";//超重协助
    public static final String WEIGHT_LOW_DLG = "5";//重量过轻
    public static final String WEIGHT_CANCEL_OVER = "6";//取消商品后，提示请取走商品
    public static final String WEIGHT_CANCEL_LOW = "7";//取消商品后，提示请把未取消的商品放回装袋台


    //startVerify
    public static final String VERIFY_TITLE = "提示信息";
    public static final String VERIFY_CONTENT = "装袋台上有未知商品，请移开后才能继续。";

    //bagDlg
    public static final String BAG_TITLE = "提示信息";
    public static final String BAG_CONTENT = "请把已扫描的商品放在装袋台后才能继续";

    //unexcepted
    public static final String UNEXCEPTED_TITLE = "提示信息";
    public static final String UNEXCEPTED_CONTENT = "装袋台上有意外商品，请移开后继续";

    //over_weight
    public static final String OVER_TITLE = "需要协助";
    public static final String OVER_CONTENT = "此商品需要收银员协助，请稍候";

    //low_weight
    public static final String LOW_TITLE = "提示信息";
    public static final String LOW_CONTENT = "请把已扫描的商品放在装袋台后才能继续";

    public static final String CANCEL_OVER_TITLE = "友情提示";
    public static final String CANCEL_OVER_CONTENT = "请检查装袋台，并将已取消的商品从装袋台上移开";

    public static final String CANCEL_LOW_TITLE = "友情提示";
    public static final String CANCEL_LOW_CONTENT = "请检查您的购物袋，把未取消的商品放回装袋台，然后按“确认”按钮。";

}
